package com.iwdnb.gkgz.common.model.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

import com.iwdnb.bmnf.common.model.BaseEntity;
import com.iwdnb.gkgz.common.quota.BollingerBands.BollingerData;
import com.iwdnb.gkgz.common.quota.Macd.MacdData;
import lombok.Data;

/**
 * @author wbc
 * @date 2020/05/02
 **/
@Data
public class StockDayData implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;

    private String code;

    private String name;

    private String market;
    /**
     * 开盘价
     */
    private BigDecimal openPrice;
    /**
     * 收盘价
     */
    private BigDecimal closePrice;
    /**
     * 最高价
     */
    private BigDecimal maxPrice;
    /**
     * 最低价
     */
    private BigDecimal minPrice;
    /**
     * 平均价
     */
    private BigDecimal avgPrice;
    /**
     * 成交的股票数
     */
    private Integer tradeNum;
    /**
     * 日期
     */
    private String date;
    /**
     * 日期时间
     */
    private String datetime;
    /**
     * 昨日收盘价
     */
    private BigDecimal beforeClosePrice;
    private StockPredictionData todayPrediction;
    private StockPredictionData tomorrowPrediction;
    private StockPredictionCheckInfo checkInfo;

    private List<StockDayData> fenshiList;

    /**
     * 涨跌幅
     */
    private BigDecimal rate;
    /**
     * 最低跌幅
     */
    private BigDecimal lowRate;
    /**
     * 最高跌幅
     */
    private BigDecimal highRate;
    /**
     * 策略标识信息
     */
    private String mark;
    /**
     * 用于计算日期推移
     */
    private Integer index;
    /**
     * 均线
     */
    private JSONObject avarage;

    /**
     * 布林带
     */
    private BollingerData bollingerBand;
    /**
     * macd
     */
    private MacdData macd;

    /**
     * 指标
     */
    private JSONObject quota;
    /**
     * 备注
     */
    private String remark;

    private TldMatchInfo tldMatchInfo;

    /**
     * 预测明日到达均线支撑位的股价
     */
    private JSONObject predict;
    /**
     * 分时最高涨幅
     */
    private BigDecimal fenshiRate;

}
